package com.av.bcacc.javaapi.thread.demo;

import java.util.concurrent.Callable;

public class CallAble001 implements Callable<String> {

    @Override
    public String call() throws Exception {
        for (int i = 1; i < 1000; i++) {
            System.out.println("第"+i+"次表白");
        }
        //返回值是线程执行完毕返回的结果
        return "女神答应你了。。。";
    }
}
